<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
	$(function(){
		$("#ht1").toggle(function(){
			$("#ht1").html("<img src='${initParam.root}/img/left_1_click.jpg'>");
		},function(){
			$("#ht1").html("<img src='${initParam.root}/img/left_1.jpg'>");
		});
		$("#ht2").toggle(function(){
			$("#ht2").html("<img src='${initParam.root}/img/left_2_click.jpg'>");
		},function(){
			$("#ht2").html("<img src='${initParam.root}/img/left_2.jpg'>");
		});
		$("#ht3").toggle(function(){
			$("#ht3").html("<img src='${initParam.root}/img/left_3_click.jpg'>");
		},function(){
			$("#ht3").html("<img src='${initParam.root}/img/left_3.jpg'>");
		});
		
		
		$("#loginBtn").click(function() {
			if ($("#loginId").val() == "") {
				alert("아이디를 입력해 주세요.");
				$("#id").focus();
				return;
			} else if ($("#loginPassword").val() == "") {
				alert("비밀번호를 입력해 주세요");
				$("#password").focus();
				return;
			}
			$("#loginBtn").submit();
		});
		
		
			$("#logout_btn").click(function(){
				var f=confirm("로그아웃하시겠습니까?");
				if(f)
					location.href="wedding.do?command=logout";
			});

	});
	
	



</script>

<div style="background-image: url('${initParam.root}/img/left_form.jpg');">
<br>
<font style="font-size: 12px">비밀번호</font></span><div style="height: 10px"></div>
<span style="margin-left: 36px;"><a href="wedding.do?command=logout"><img src="${initParam.root}/img/logout_btn.gif" id="logout_btn"></a>&nbsp;<a href="wedding.do?command=updateMember"><img src="${initParam.root}/img/modify_btn.gif"></a></span><div style="height: 5px"></div>
<br><br><br><br><div style="height: 5px"></div>
</div>


<p></p>

<a href="letter.do?command=letterList"><span id="ht1"><img src="${initParam.root}/img/left_1.jpg"></span></a><br>
<span id="ht2"><a href="letter.do?command=letterList"><img src="${initParam.root}/img/left_2.jpg"></a></span><br>
<span id="ht3"><img src="${initParam.root}/img/left_3.jpg"></span><p></p>

<!-- 고객센터 이미지 -->
<img src="${initParam.root}/img/cs.gif"><br>

<!-- 로그인</a><br>
우리둘만의공간</a><br> -->


<a href="wedding.do?command=delete">탈퇴</a>

